﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity.Migrations;
using _1._12._2015_College.Data.Models;

namespace _1._12._2015_College.Data
{
    public static class Seeder
    {
        public static void Seed(ApplicationDbContext db)
        {
            db.Colleges.AddOrUpdate(c => c.Name,
                new College
                {
                     Name = "University of Texas",
                     City = "Austin",
                     State = "Texas"             

                },
                new College
                {
                    Name = "University of Wyoming",
                    City = "Laramie",
                    State = "Wyoming"

                },
                new College
                {
                    Name = "Arizona State University",
                    City = "Tempe",
                    State = "Arizona"

                }
               
                );
        }
    }
}
